package com.lfz.search.vo;

import java.io.Serializable;
import java.util.List;

public class Page implements Serializable {

	private static final long serialVersionUID = 1L;

	// 搜索关键字
	private String q;
	// 起始位置
	private Integer begin;
	// 获取多少条记录
	private Integer rows;
	// 搜索类型
	private String searchType;
	// 发货位置
	private List<Integer> loc;
	// 分类id
	private List<Integer> cat;
	// 标签id
	private List<Integer> tag;
	// 价格范围
	private List<Integer> reservePrice;
	// 排序字段及规则，如：[sale-desc,price-asc]
	private List<String> sort;

	// 总共多少条记录
	private Long total;

	private Object data;

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public String getQ() {
		return q;
	}

	public void setQ(String q) {
		this.q = q;
	}

	public String getSearchType() {
		return searchType;
	}

	public void setSearchType(String searchType) {
		this.searchType = searchType;
	}

	public Integer getBegin() {
		return begin;
	}

	public void setBegin(Integer begin) {
		this.begin = begin;
	}

	public Integer getRows() {
		return rows;
	}

	public void setRows(Integer rows) {
		this.rows = rows;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public List<Integer> getLoc() {
		return loc;
	}

	public void setLoc(List<Integer> loc) {
		this.loc = loc;
	}

	public List<Integer> getCat() {
		return cat;
	}

	public void setCat(List<Integer> cat) {
		this.cat = cat;
	}

	public List<Integer> getTag() {
		return tag;
	}

	public void setTag(List<Integer> tag) {
		this.tag = tag;
	}

	public List<Integer> getReservePrice() {
		return reservePrice;
	}

	public void setReservePrice(List<Integer> reservePrice) {
		this.reservePrice = reservePrice;
	}

	public List<String> getSort() {
		return sort;
	}

	public void setSort(List<String> sort) {
		this.sort = sort;
	}

	@Override
	public String toString() {
		return "Page [q=" + q + ", begin=" + begin + ", rows=" + rows + ", searchType=" + searchType + ", loc=" + loc
				+ ", cat=" + cat + ", tag=" + tag + ", reservePrice=" + reservePrice + ", sort=" + sort + ", total="
				+ total + ", data=" + data + "]";
	}

}
